package com.open.common.model;

import java.io.Serializable;

/**
 * 排序条件、SQL
 *
 * @author dashu
 */
public class Sort implements Serializable {
    private static final long serialVersionUID = -6010728481393332685L;

	/**
	 * 排序条件
	 */
	private String sortCondition;

	/**
	 * 排序SQL
	 */
	private String sortBySql;

    public Sort(String sortCondition, String sortBySql) {
        super();
        this.sortCondition = sortCondition;
        this.sortBySql = sortBySql;
    }

    public Sort() {
        super();
    }

    public String getOrderCondition() {
        return sortCondition;
    }

    public void setSortCondition(String sortCondition) {
        this.sortCondition = sortCondition;
    }

    public String getSortBySql() {
        return sortBySql;
    }

    public void setSortBySql(String sortBySql) {
        this.sortBySql = sortBySql;
    }

}
